package huu.phong.youtube;

import java.awt.image.BufferedImage;

import javax.swing.JToolTip;

public class VideoToolTip extends JToolTip{

	private static final long serialVersionUID = -7644013850791145323L;
	
	private VideoToolTipUI ui;
	
	public VideoToolTip(){
		ui = new VideoToolTipUI();
		setUI(ui);
	}
	
	public void setImage(BufferedImage image){
		ui.setImage(image);
		repaint();
	}
}
